Skip to main content
Glama

get_optimize

An Optimize call: the original's score and every new package so far. Same as GET /v1/optimize/{call_id}. Free.

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": {
      "call_id": "<call_id>"
    },
    "name": "get_optimize"
  }
}

Input Schema

NameRequiredDescriptionDefault
api_keyNo
call_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description must cover behavior, and it does add two useful facts: the call is free and it returns accumulated packages, which implies the result set grows over time. It says nothing about auth requirements (there is an api_key parameter), error cases for an unknown call_id, or whether the response is bounded.

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?

Three short clauses with the payload description up front and no padding. The 'Same as GET /v1/optimize/{call_id}' clause overlaps a little with the first sentence but usefully grounds the shape of the call.

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?

An output schema exists, so the description does not need to spell out the return structure, and it does not overreach. Still, for a tool with zero annotation coverage and zero schema description coverage it leaves out the two things an agent most needs: how to obtain a call_id and whether auth is required.

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 0%, so two parameters are undocumented in the structured data. The URL analogy indirectly explains that call_id identifies the Optimize call, but it gives no format or provenance (where the id comes from). The api_key parameter goes entirely unexplained even though a definition could note that it can be omitted if the connection is already configured.

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?

It states the resource (an Optimize call) and what comes back (the original's score plus every new package so far), and frames it as a read against GET /v1/optimize/{call_id}. This separates it from optimize_video, which starts the job. The verb is only implied by 'get'/the HTTP analogy rather than stated outright.

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

Usage Guidelines2/5

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

No when-to-use or when-not guidance is given, and no sibling is named as an alternative. The word 'Free' hints that it can be polled, but the agent is left to work out the relationship to optimize_video and to get_call / list_calls on its own.

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