Skip to main content
Glama

SanctionsKit developer MCP

Inspect the REST API contract

get_api_schema
Read-onlyIdempotent

Without path, list consumer REST operations. With a path such as /screenings and lowercase method, retrieve its OpenAPI request, response, examples and referenced schemas. Describes REST capabilities; MCP account tools are sandbox only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNo
methodNoget

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already carry the full safety profile (readOnly, idempotent, non-destructive, closed-world), so the bar is lower, and the description adds the two-mode behavior plus the caveat that this reflects the REST contract rather than the sandboxed account tools. The closing clause is slightly ambiguous about what 'sandbox only' applies to, but there is no contradiction with 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences, correctly front-loaded with the zero-argument behavior before the parameterized one, with no filler. The final sentence is compressed to the point of slight ambiguity, which costs a point.

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?

An output schema exists, so return values need not be enumerated, and annotations cover safety; the description supplies the missing mode semantics and the scope boundary against sandbox tools. It could say more about invalid-path or unknown-method behavior, but nothing essential for correct invocation is absent.

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?

Schema coverage is 0%, so the description must carry the load, and it does: it explains that omitting 'path' switches to list mode, gives a concrete example value (/screenings), and notes the method must be lowercase (the schema only implies this via lowercase enum values). It omits the path maxLength and the default-method behavior, which the schema covers.

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 states a precise dual-mode verb+resource: with no path it lists consumer REST operations, with a path+method it retrieves that operation's OpenAPI request/response/examples/schemas. It also draws a scope boundary against the sibling sandbox tools ('MCP account tools are sandbox only'), so an agent can distinguish it from get_doc/search_docs 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 Guidelines4/5

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

It explicitly describes the two invocation modes and the condition that selects each ('Without path, list ... With a path such as /screenings and lowercase method, retrieve ...'), which is strong when-to-use guidance. It stops short of naming an alternative tool (e.g. get_doc) for the case where the agent wants prose docs rather than the contract, so no exclusions are given.

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