Skip to main content
Glama

Get a production

get_production
Read-onlyIdempotent

Show one production: budget, spent, set aside for jobs still running, what is left, and its recent activity and jobs. Read-only.

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": {
      "production_id": "<production_id>"
    },
    "name": "get_production"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of activity events to return, 1 to 100. Default 20.
events_afterNoOptional event id from a previous call to fetch newer activity.
production_idYesThe production's id (prod_...).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so safety is covered. The description adds useful behavioral context by disclosing what the response contains, including the distinction between spent budget and money set aside for jobs still running. It does not describe authorization requirements or output format, but the added return-content detail goes beyond the annotations.

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?

The definition is a single front-loaded sentence listing the returned content, followed by a brief 'Read-only' confirmation. Every phrase earns its place, and there is no unnecessary wording.

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?

With three fully documented parameters, rich annotations, and no output schema, the description adequately compensates by naming the main response fields. It stops short of explaining how activity and jobs are shaped or paginated, but it is complete enough for an agent to select and invoke the tool correctly.

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%, and all three parameters are documented in the schema, including the limit range, events_after semantics, and production_id format. The description adds no parameter-specific meaning beyond implying that 'recent activity' is controlled by the activity parameters, so the baseline of 3 is appropriate.

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

Purpose5/5

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

The description uses a specific verb and resource ('Show one production') and enumerates the exact content returned: budget, spent, set aside for running jobs, remaining, recent activity, and jobs. This clearly separates it from sibling mutations like close_production, open_production, and raise_production_budget.

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 listing of returned fields and the 'Read-only' note imply the tool is for inspecting a single production's financial and activity state, but there is no explicit when-to-use guidance or named alternative. The agent can infer usage from the content, but the definition does not route it against other get_* tools.

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.