Skip to main content
Glama

ormosaapi

ai_extract

Extract companies/people/places/amounts as JSON (DeepSeek upstream; requires DEEPSEEK_KEY).

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": {
      "text": "<text>"
    },
    "name": "ai_extract"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, and it does disclose two genuinely useful facts: an external DeepSeek upstream (latency/behavior implications) and an auth requirement (DEEPSEEK_KEY). It does not cover failure modes when the key is absent, cost/rate limits, or whether output is deterministic for the same text.

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?

One sentence, capability and output format front-loaded, with the operational caveat parenthesized at the end. Nothing is wasted or repeated from the schema.

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 return structure needn't be explained, and the simple one-param surface is largely covered. Still missing is what an agent needs for edge cases: empty-result behavior, input size limits, and what error surfaces when DEEPSEEK_KEY is unset.

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 0% for the single 'text' parameter, so the description must compensate; it only indirectly implies that text is the source to extract from. The baseline for a one-parameter tool keeps this at 3, but no length, language, or format constraints are given.

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?

States a specific verb ('Extract') plus the exact entity classes it targets (companies/people/places/amounts) and the output shape (JSON). That is clearly distinguishable from sibling AI tools like ai_summarize or ai_translate, though the description never explicitly contrasts itself with them.

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?

Usage is only implied by the entity list — an agent can infer this is for named-entity extraction, but there is no statement of when to pick it over ai_classify or ai_summarize, and no exclusions or preconditions beyond the key requirement.

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