Skip to main content
Glama

Extract JSON (free demo)

extract_json_lite
Read-only

Free, rate-limited demo of extract_json: up to 1000 characters of text and 5 fields (or a small schema). Use this to try the service; use extract_json for real work. Free, rate limited.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "text": "Hi team, I'm Dana Ortiz, VP of Ops at Lumen Freight. Can we move Thursday's demo to Friday Nov 27 at 2pm ET? Reach me at dana@lumenfreight.com or (617) 555-0142.",
      "fields": [
        "name",
        "title",
        "company",
        "email",
        "phone",
        "requested_meeting_time"
      ]
    },
    "name": "extract_json_lite"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesThe unstructured text to extract from (max 1000 characters).
fieldsNoShortcut instead of a schema: field names, optionally typed as name:type where type is string, number, integer, boolean, date, string[], number[] or object[] (e.g. ["name", "email", "total:number", "skills:string[]"]).
schemaNoA JSON Schema (type: object, with properties) describing the JSON you want back. Supports type, properties, required, items, enum, description. Provide this OR fields.
instructionsNoOptional extra guidance, e.g. 'dates as YYYY-MM-DD', 'amounts in USD'.

Output Schema

NameRequiredDescriptionDefault
dataYesThe extracted JSON. Validates against your schema; values not found in the text are null.
noteNo
modelYes
missingNoPaths of requested fields that were not found in the text (returned as null).
warningsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds the genuinely useful facts that this is free but rate-limited and size-capped. It does not say what happens when the cap or rate limit is hit (error vs truncation), which is the main behavioral gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

Short and front-loaded, but 'Free, rate limited' appears twice, once at the start and again as a trailing fragment. The duplication costs space without adding information.

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 described, and the size caps plus the sibling pointer cover the essentials. The unresolved point is the mismatch between 'up to 5 fields' in the description and maxItems=40 in the schema, plus unspecified failure behavior at the limits.

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 100% and each parameter has its own description, so baseline is 3. The description's limits roughly mirror the schema constraints but do not explain the fields-vs-schema alternative or the typed 'name:type' syntax — the schema already does that better.

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?

States a specific verb and resource ('demo of extract_json') and quantifies what it can do: up to 1000 characters and 5 fields. The demo-vs-full distinction from the sibling extract_json is stated outright, so an agent can tell the two apart without opening either 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?

Explicit routing: 'Use this to try the service; use extract_json for real work', backed by concrete size limits that give the agent a threshold to judge against. The phrase 'real work' is the only fuzzy part — it isn't stated whether a 6-field request belongs here or in extract_json.

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