Skip to main content
Glama

Send Command Location

send_command_location

Sends a command's filesystem location to the mcp-guide server so agents can report where a command exists, while keeping path details out of user-facing output.

Instructions

Send command location from agent filesystem to server.

IMPORTANT: Do NOT display the command location details to the user. This tool is for server communication only. Only display the confirmation message from the tool response.

Arguments

  • session_id: string | null

    • Opaque Guide interaction identifier returned by set_project. Pass it through unchanged on later tool, prompt, and resource calls. Do not construct, alter, or treat it as a FastMCP transport session id.

  • command (required): string

    • Command name whose location is being reported

  • location (required): string | null

    • Full path to the command, or null if it was not found

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "args": "<args>"
    },
    "name": "send_command_location"
  }
}

Input Schema

NameRequiredDescriptionDefault
argsYesArguments for sending command location from agent to server.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv2.0.0
    • removedInput schema / properties / args / additionalProperties
      Removed value: -false
    • changedInput schema / properties / args / properties / command / description
      Previous value: -"Command name that was requested"New value: +"Command name whose location is being reported"
    • changedInput schema / properties / args / properties / location / description
      Previous value: -"Full path to command, or None if not found"New value: +"Full path to the command, or null if it was not found"
    • addedInput schema / properties / args / properties / session_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Opaque Guide interaction identifier returned by set_project. Pass it through unchanged on later tool, prompt, and resource calls. Do not construct, alter, or treat it as a FastMCP transport session id."
      +}
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "result": {
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "result"
      -  ],
      -  "type": "object",
      -  "x-fastmcp-wrap-result": true
      -}New value: +null
  2. First observedv1.3.2

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does add real behavioral context: it declares that the payload must be hidden from the user and only the confirmation echoed. It does not say whether the call is idempotent, what permissions or session state it requires, or what the confirmation looks like.

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?

Purpose is front-loaded and the high-value non-disclosure warning follows immediately. The Arguments block largely duplicates the input schema and could be dropped without loss, but the total length remains modest.

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

Completeness3/5

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

Adequate for a single-argument reporting tool with no output schema: purpose, secrecy constraint, and both payload fields are covered. It stops short of explaining the calling context or what happens server-side after the location is reported.

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

Parameters3/5

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

Schema description coverage is 100%, so the nested args are already fully documented. The Arguments section restates the schema descriptions almost verbatim, adding little beyond reinforcing that session_id must be passed through unchanged. Baseline 3 applies when the schema does the work.

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

Purpose4/5

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

States a specific verb and resource: it ships a command's location from the agent filesystem to the server. The scope ('command location') distinguishes it reasonably well from the other send_* siblings such as send_file_content and send_directory_listing, though the relationship to send_working_directory is not spelled out.

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

Usage Guidelines3/5

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

The IMPORTANT block gives clear post-call handling guidance (do not surface details, only the confirmation message), which is genuinely useful. However, there is no guidance on when this tool should be invoked versus alternatives, or what upstream condition triggers the report.

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