Skip to main content
Glama

Execute a mathematical capability

capability.invoke

Execute a chosen mathematical capability to explore results or verify claims, returning structured evidence and diagnostics.

Instructions

Execute one installed mathematical capability after inspecting its exact descriptor.

Call capability.describe first; do not guess payload fields or aliases. Use EXPLORE for proposed, heuristic, or computed evidence and VERIFY only for an installed checker-backed contract. After invocation, inspect execution, scope, completeness, relationships, open obligations, assurance, diagnostics, and artifact URIs independently. COMPLETED does not by itself establish a mathematical conclusion. One invocation covers only its exact supplied input or claim. Repeating finite or bounded instances does not widen that scope to an all-orders or all-parameters claim. The default view="STANDARD" keeps the canonical result in MCP structured content while bounding large model-visible output fields. Its mcp_projection reports exact logical and model-visible byte counts, digests every omission, and points to the durable full result episode. Use view="SUMMARY" only when output fields are not needed, or view="FULL" when the complete result must also appear in text. Synchronous SAT and SMT requests are capped at 150 seconds so structured TIMEOUT or CANCELLED diagnostics can arrive before remote transport deadlines. Partition larger searches; retrying a cancelled call starts a new computation.

Examples:

  • {"capability_id":"integer.compute.gcd","mode":"EXPLORE","payload":{"left":"84","right":"30"}}

  • {"capability_id":"integer.compute.gcd","mode":"EXPLORE","view":"SUMMARY","payload":{"left":"84","right":"30"}}

  • {"capability_id":"polynomial.identity.verify","mode":"VERIFY","payload":{"variables":["x"],"left":{"terms":[]},"right":{"terms":[]}}}

These demonstrate valid envelopes, not a required sequence or research strategy.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoEXPLORE
viewNoSTANDARD
payloadYes
capability_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeYes
scopeNo
outputNo
providerNo
assuranceYes
executionYes
diagnosticsNo
episode_uriNo
obligationsNo
completenessNo
artifact_urisNo
capability_idYes
relationshipsNo
provider_digestNo
response_versionNo2
capability_versionYes
Behavior5/5

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

Goes far beyond the sparse annotations (all false): discloses that 'COMPLETED does not by itself establish a mathematical conclusion', explains the exact scoping limits of invocation, describes the default view's projection and mcp_projection reporting, and details timeout/retry semantics. This is rich behavioral context with no contradiction.

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 long but every sentence adds essential operational detail. It is front-loaded with the purpose, and the later sections systematically cover invocation protocol, verification semantics, view options, timeouts, and examples. Minor redundancy between 'One invocation covers only its exact supplied input or claim' and 'Repeating finite or bounded instances does not widen that scope' but not enough to penalize heavily.

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?

Given the output schema exists, the description appropriately focuses on invocation behavior rather than return values. It covers prerequisites (describe first), mode/view selection, timeout/retry policy, scope limitations, and post-invocation inspection guidance. The examples make the envelope structure crystal clear for a complex tool.

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

Parameters5/5

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

The schema has 0% description coverage, but the description compensates fully: it explains mode ('Use EXPLORE for proposed, heuristic, or computed evidence and VERIFY only for an installed checker-backed contract'), view behavior and when to use each variant, and provides concrete payload examples for both capability_id and payload structure, making the free-form payload meaningful.

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?

Opens with a specific verb+resource: 'Execute one installed mathematical capability' and immediately differentiates by requiring 'capability.describe first'. This clearly distinguishes it from the sibling describe tool and names the exact action and target.

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?

Explicitly instructs to 'Call capability.describe first; do not guess payload fields or aliases.' It prescribes when to use EXPLORE vs VERIFY, when to use SUMMARY/FULL views, and even advises partitioning larger searches due to the 150-second timeout. This is strong alternative-aware guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/morluto/jacobian'

If you have feedback or need assistance with the MCP directory API, please join our Discord server