Skip to main content
Glama

Railflag

Scan the source

scan_source
Idempotent

Reads all flags and their targeting from the connected vendor (read only). Runs in the background: poll get_run with the returned runId.

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": {
      "connectionId": "<connectionId>"
    },
    "name": "scan_source"
  }
}

Input Schema

NameRequiredDescriptionDefault
connectionIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior1/5

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

The parenthetical '(read only)' directly conflicts with the supplied annotation readOnlyHint=false, so the agent gets opposite signals on the single most important behavioral axis. The genuinely useful disclosure — that execution is asynchronous and results must be retrieved via get_run using the returned runId — is valuable context annotations cannot express, but the contradiction undermines trust in the safety profile and is exactly the failure mode the rubric penalizes.

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, front-loaded with what is read and immediately followed by the async contract. Very little waste. The only defect is the parenthetical '(read only)', which is both short and misleading, so it costs some points.

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 an async scan with no output schema, the description does explain the runId/polling handoff, which is the critical piece. It omits how to obtain a connectionId, how long scans typically take or whether they can be re-run/concurrent, and what happens to previously scanned state — moderate but real gaps.

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

Parameters2/5

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

There is one parameter, connectionId, with 0% schema description coverage, and the description adds nothing about it — not what a connection is, nor that it comes from connect_source/list_sources/get_connection. Since the schema is silent, the description had the full burden and did not carry it.

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: 'Reads all flags and their targeting from the connected vendor.' That is far more informative than the name/title 'scan_source' and tells an agent this pulls flag + targeting state, not just a list. It stops short of explicitly distinguishing itself from siblings like list_flags or get_flag, so sibling differentiation is left implicit.

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?

Gives a concrete follow-up contract: the call returns a runId and the agent must poll get_run. That is real operational guidance naming the correct sibling. It does not say when to prefer this over list_flags/get_flag for already-scanned sources, so there is no exclusion guidance.

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.

Resources