Skip to main content
Glama

Check local context

local_context_status
Read-only

Whether the repository's organization accepts local context (request_review_with_context). Ask before reading anything to send: when it is off, send nothing and use request_review.

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": {
      "repo": "<repo>"
    },
    "name": "local_context_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoYesThe repository as "owner/name".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered. The description adds the useful behavioral fact that this is a gate preceding any data transmission and that a negative result must block sending. It does not describe the shape of the answer (boolean vs. status object) or failure behavior, though with no output schema that is a real gap.

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?

Two short sentences with no filler, and the enforcement rule ('when it is off, send nothing') is placed where an agent will act on it. The opening fragment is slightly awkward grammatically but costs little.

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?

For a one-parameter read-only gate, an agent still needs to know what comes back and how to interpret it, and the description only implies a yes/no outcome. It is adequate to decide whether to call the tool and how to branch, but not to handle the response or error cases, especially absent an output schema.

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% with a single described 'repo' parameter in owner/name form, so the schema does the work. The description adds no syntax, format, or validation detail beyond that. Baseline 3 is appropriate.

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

Purpose3/5

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

The description states the resource (the repository's organization's local-context policy) but phrases the action as a fragment ('Whether ... accepts local context') rather than a clear verb such as 'check' or 'returns whether'. It does name the sibling it gates (request_review_with_context), which helps an agent place it, but the purpose reads more like a condition than a tool action.

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

Usage Guidelines4/5

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

It gives explicit timing ('Ask before reading anything to send') and a concrete fallback: when the answer is off, send nothing and use request_review. That covers both when to call and what to do on each outcome. It does not address edge cases such as when the check is unnecessary or unknown, keeping it short of a 5.

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.