Skip to main content
Glama

AHOOK

extract_field

Read-onlyIdempotent

Pull a JSON path out of an event body. Auth: Authorization Bearer read token header.

Input Schema

NameRequiredDescriptionDefault
event_idYesThe numeric id of the event.
inbox_idYesThe inbox id returned when the inbox was created.
json_pathYesDot-separated path into the event JSON body, e.g. user.email.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / event_id / description
      Added value: +"The numeric id of the event."
    • addedInput schema / properties / inbox_id / description
      Added value: +"The inbox id returned when the inbox was created."
    • addedInput schema / properties / json_path / description
      Added value: +"Dot-separated path into the event JSON body, e.g. user.email."
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely useful context the annotations lack — the required Authorization Bearer read token — but says nothing about behavior when the JSON path is absent or invalid.

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?

Two short sentences, zero filler, with the core operation front-loaded and the auth requirement following. Every sentence carries information an agent needs.

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?

A simple read tool with fully documented parameters, rich annotations, and no output schema to explain. The only meaningful gap is the unspecified behavior when the path does not match, which is a minor omission for a tool this simple.

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 100%, with each of the three parameters documented including a dot-path example, so the baseline is 3. The description adds no additional meaning about how inbox_id, event_id, and json_path interact.

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?

The description gives a specific verb and resource: 'Pull a JSON path out of an event body.' An agent can tell this extracts a single field rather than returning the whole event, implicitly distinguishing it from get_event, but it never names that sibling explicitly.

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 operation itself — you would call this when you need one value instead of a full event body. There is no explicit statement of when to prefer this over get_event or what to do if the path does not resolve.

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.