Skip to main content
Glama

getAgentCapabilities

Read-onlyIdempotent

Check client compatibility before connecting to ProofTask. Call with {} for the current API version, transports, workspace connection methods and billing behavior. Fetch a fresh report when configuring a client or after an upgrade. Connecting a workspace requires separate human approval. To browse templates, use searchPublicSpecifications.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "getAgentCapabilities"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
dataYesThe published result on success, or the upstream error payload.
httpStatusYesUpstream HTTP status. A failed read also sets isError on the MCP result.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "if": {
      +    "properties": {
      +      "httpStatus": {
      +        "maximum": 299
      +      }
      +    }
      +  },
      +  "properties": {
      +    "data": {
      +      "description": "The published result on success, or the upstream error payload."
      +    },
      +    "httpStatus": {
      +      "description": "Upstream HTTP status. A failed read also sets isError on the MCP result.",
      +      "maximum": 599,
      +      "minimum": 200,
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "httpStatus",
      +    "data"
      +  ],
      +  "then": {
      +    "properties": {
      +      "data": {
      +        "properties": {
      +          "apiVersion": {
      +            "description": "Agent API contract version.",
      +            "type": "string"
      +          },
      +          "billing": {
      +            "description": "Credit use and human checkout behavior.",
      +            "type": "object"
      +          },
      +          "connection": {
      +            "description": "Published ways to connect an agent.",
      +            "type": "object"
      +          },
      +          "mcpTransport": {
      +            "description": "Available MCP transports and endpoints.",
      +            "type": "object"
      +          }
      +        },
      +        "required": [
      +          "apiVersion",
      +          "connection",
      +          "mcpTransport",
      +          "billing"
      +        ],
      +        "type": "object"
      +      }
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.7/5.0
Behavior4/5

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

The annotations already declare this is a read-only, idempotent, open-world, non-destructive call, so the safety profile is covered. The description adds real behavioral context beyond that: calling with an empty object is sufficient, the report should be re-fetched after upgrades (staleness matters), and connecting a workspace requires separate human approval. It omits latency, rate limits, and caching specifics, which keeps it from a perfect score.

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?

Four short sentences, front-loaded with the purpose, then the payload, refresh triggers, an approval caveat, and the sibling redirect. Every sentence carries distinct information and none repeats the schema or annotations.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-parameter, read-only tool with a full output schema, this covers purpose, invocation form, refresh timing, an approval prerequisite, and the alternative tool. An agent has everything needed to decide when to call it and how to call it correctly.

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

Parameters4/5

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

With zero parameters, the baseline is 4, and the description usefully confirms the invocation form by telling the agent to call with an empty object, which matches additionalProperties:false. There is no further parameter meaning to add.

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 names a specific verb and resource (check client compatibility against ProofTask's capabilities) and enumerates what the report contains: API version, transports, workspace connection methods, and billing behavior. It also separates itself from the sibling tools by pointing template browsing to searchPublicSpecifications, so an agent can pick the right tool without opening a schema.

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

Usage Guidelines5/5

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

It gives concrete triggers, such as configuring a client, performing a pre-connect compatibility check, or reloading after an upgrade, and it names an alternative for a different intent (templates → searchPublicSpecifications). Both the when-to-use and the redirect condition are explicit, leaving nothing for the agent to infer.

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.