Skip to main content
Glama

Vira – Create, Teach & Manage AI Behavior

read_control_api

Read-only

Call one registered read-only Control API operation not promoted to a first-class MCP tool. Use to read the scoped resource; use its create, execute, or transition sibling for state changes. Required fields: organizationId, projectId, environmentId, operationId. The authenticated MCP session supplies the tenant scope; any supplied scope identifiers must match it. Unknown fields are rejected. This is read-only and returns scope-bound data.

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": {
      "operationId": "<operationId>"
    },
    "name": "read_control_api"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoDocumented body input for read_control_api; use the published type and keep customer data within the authenticated scope.
queryNoDocumented query input for read_control_api; use the published type and keep customer data within the authenticated scope.
projectIdNoAuthenticated customer scope identifier; must match the API key scope and is never inferred from model text.
pathParamsNoDocumented pathParams input for read_control_api; use the published type and keep customer data within the authenticated scope.
operationIdYesPublished Control API operationId; it must resolve to a registered route for this surface.
environmentIdNoAuthenticated customer scope identifier; must match the API key scope and is never inferred from model text.
organizationIdNoAuthenticated customer scope identifier; must match the API key scope and is never inferred from model text.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already establish the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=false), and the description adds real value beyond them: the tenant scope comes from the authenticated MCP session, supplied scope identifiers must match it, unknown fields are rejected, and the returned data is scope-bound. It never explains the idempotentHint=false on a read operation, nor does it cover failure modes such as an operationId that fails to resolve.

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 front-loaded: what the tool does comes first, then when to use the sibling, then the operational constraints. Each sentence carries information, with only mild padding in the restatement that the tool 'is read-only' after the purpose line already said so.

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?

This is a generic dispatcher with 7 parameters, nested free-form objects, and no output schema; for that surface, an agent needs guidance on how body, query, and pathParams map to the underlying operation and how to discover operationIds, and the description gives neither. It also misstates which fields are required, so completeness is only adequate.

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 the baseline here is 3. The description does add meaning, namely that operationId must resolve to a registered route and that scope identifiers must match the session, but its claim that 'Required fields: organizationId, projectId, environmentId, operationId' conflicts with the schema, whose required array lists only operationId, and it says nothing about how the nested body, query, and pathParams objects are shaped per operation.

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 specific verb and resource: it calls exactly one registered read-only Control API operation that has no first-class MCP tool. That framing lets an agent tell it apart from write_control_api and the create/execute/transition siblings. The only shortfall is that 'Control API operation' stays abstract, since the description never says what operation family or surface the operationIds come from.

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 a clear condition for use, namely a read-only operation that is not exposed as a first-class tool, and it routes state changes to the create, execute, or transition sibling. It does not say how to look up a valid operationId or what to do when the preferred first-class tool exists, so it is clear on context but has no explicit exclusions.

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