Skip to main content
Glama

Send Message

send

Deliver a prompt to GitHub Copilot within a workspace session, then return a requestId to poll for status and results.

Instructions

Send a message to GitHub Copilot. Returns immediately with a requestId that can be polled for status and results.

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": {
      "workspace": "<workspace>",
      "sessionId": "<sessionId>",
      "prompt": "<prompt>"
    },
    "name": "send"
  }
}

Input Schema

NameRequiredDescriptionDefault
promptYesMessage content to send to the agent
sessionIdYesSession ID
workspaceYesWorkspace ID or project directory path
attachmentsNoFile attachments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden, and it does disclose the key trait: the call returns immediately rather than blocking, yielding a requestId for later polling. It says nothing about permissions, whether the message triggers side effects in the workspace, or failure behavior, which are meaningful gaps for an action that dispatches work to an agent.

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

Conciseness5/5

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

Two short sentences with zero waste: the action comes first and the async return contract second. Nothing is repeated from the schema or title.

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

Completeness4/5

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

For a simple four-parameter dispatch tool with no output schema, the description covers the essential return contract (requestId) that an agent could not otherwise know. It falls short only on the polling lifecycle and error/permission expectations, which would round out the picture.

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 coverage is 100%, so all four parameters including attachments are already documented in the schema, and the description adds no extra meaning such as prompt format limits or how workspace relates to sessionId. Baseline 3 applies when the schema does the heavy lifting.

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?

The description states a concrete verb and target ('Send a message to GitHub Copilot'), which is far more specific than the bare name 'send'. It does not explicitly distinguish itself from the sibling 'send_and_wait', though the phrase 'Returns immediately' implicitly contrasts with a blocking variant.

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?

Usage is only implied: the mention that the requestId 'can be polled' tells an agent this is the asynchronous entry point and hints at a follow-up with 'poll'. It never states when to prefer this over 'send_and_wait' or what to do if polling is undesirable, so the agent must infer the choice.

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