Skip to main content
Glama

Update Task Location

update_task_location
Idempotent

Update the location of a Draft task. Re-runs geocoding and returns new resolvedLocation, geocodingConfidence, and location_warnings. Precondition: task must be in Draft or Published status. Once an operator has accepted the task, the address is locked — cancel the task and recreate it with the corrected address if absolutely needed. Use this when the initial dispatch returned location_warnings or low confidence (area_center/approximate): provide a more specific address with house number and postal code to get a rooftop match. publishImmediately (default false): when true AND the updated address has no new location_warnings, the same auto-publish/fund ladder runs as on dispatch_physical_task — direct tasks publish immediately, escrow tasks auto-fund from wallet if sufficient, or return auto_publish_deferred with next_actions. Use this to correct a typo + go live in a single call. Requires authentication.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
apiKeyYesYour API key (m2m_...)
taskIdYesTask ID to update — must be in Draft status
locationAddressNoNew address (leave null to only update lat/lng). Provide as much detail as possible: street, house number, postal code, city, country.
locationLatitudeNoOptional: override latitude (decimal degrees, e.g. 52.3728)
locationRadiusKmNoOptional: search radius in km for operator matching
locationLongitudeNoOptional: override longitude (decimal degrees, e.g. 4.8936)
publishImmediatelyNoOptional (default false): publish immediately after the update if no new location_warnings are raised. For escrow tasks, auto-funds from wallet when balance is sufficient. For direct-settlement, publishes without funding.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description adds substantial behavioral context beyond the annotations: it discloses that geocoding is re-run, that the address becomes locked after operator acceptance, and that publishImmediately can trigger auto-publish/fund ladder with side effects (direct tasks publish immediately, escrow tasks auto-fund or return auto_publish_deferred with next_actions). This goes well beyond the simple idempotentHint/destructiveHint flags, and no contradictions exist.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is dense but well-structured: a clear lead sentence, then precondition, lock warning, use case, publishImmediately behavior, and a practical summary. Every sentence earns its place, though the publishImmediately explanation is a bit lengthy. It remains readable and front-loaded with the primary purpose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (preconditions, status restrictions, publishing side effects, no output schema), the description covers all essential aspects: return fields, geocoding re-run, status requirements, lock behavior, publish/fund ladder, authentication, and a concrete example of when to use it. It is complete enough for an agent to invoke the tool safely and correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, but the description enriches key parameters: it explains publishImmediately's auto-publish/fund ladder, recommends providing 'house number and postal code' for locationAddress to get a rooftop match, and clarifies that locationLatitude/Longitude are optional overrides. This adds meaning beyond the raw schema definitions, though not every parameter is individually expanded.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description explicitly states the action: 'Update the location of a Draft task' with specific behavior 'Re-runs geocoding and returns new resolvedLocation, geocodingConfidence, and location_warnings.' It clearly distinguishes from siblings by citing the use case for correcting location_warnings/low-confidence matches and the publishImmediately flow that parallels dispatch_physical_task.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit when-to-use guidance: 'Use this when the initial dispatch returned location_warnings or low confidence' and when not to use: 'Once an operator has accepted the task, the address is locked — cancel the task and recreate it.' It also states the precondition (Draft or Published status) and the publishImmediately option for correcting a typo and going live in a single call.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A3.9/5.0
Disambiguation3/5

Most tools have clearly distinct purposes, but there are overlapping pairs like fund_wallet and checkout_wallet_deposit (both create checkout URLs for wallet top-up) and cancel_physical_task vs cancel_task_with_settlement. Detailed descriptions and cross-references help, but the sheer number of similar actions creates misselection risk.

Naming Consistency4/5

Tool names follow a consistent verb_noun snake_case pattern (e.g., get_*, list_*, approve_*). Minor deviations include inconsistent use of 'task' vs 'physical_task' in names and the awkward 'checkout_wallet_deposit', but overall the pattern is predictable.

Tool Count2/5

54 tools is excessive for any server, even a complex platform. While each tool has a role, many are redundant or could be consolidated (e.g., wallet funding tools, multiple approval/cancel variations), making the set feel bloated and hard to navigate.

Completeness4/5

The tool set covers the full task lifecycle, escrow/direct settlement flows, wallet management, webhooks, support, and administrative functions. The only notable gap is the inability to update task details beyond location (description, deadline, etc.) after dispatch, but core workflows are well-covered.