Skip to main content
Glama
chad-hohn-radai

spotdraft-mcp

Find contracts by external record ID

find_contracts_by_external_metadata
Read-only

Reverse lookup: given an external record ID (e.g., HubSpot deal ID), returns up to 50 linked SpotDraft contracts. Use to find which contracts are associated with a specific deal.

Instructions

Reverse lookup: given an external record ID (for Rad AI, a HubSpot deal ID), returns the SpotDraft contracts linked to it (up to 50). Use to answer 'which SpotDraft contracts are linked to deal X'. Pairs with get_contract_external_metadata (forward lookup by contract).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
external_metadata_idYesThe external record ID to search by, e.g. a HubSpot deal ID like '7762724431'.
Behavior4/5

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

Annotations already declare readOnlyHint=true, so description adds value by specifying result limit (up to 50) and the forward/backward pairing. 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.

Conciseness5/5

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

Two succinct sentences: first states purpose and behavior, second gives usage guidance. No wasted words; front-loaded with key action.

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?

With 1 parameter, high schema coverage, and no output schema, the description adequately covers behavior (reverse lookup, result count) and usage context. Nothing missing for this tool.

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 has 1 param with 100% coverage. Description adds example (HubSpot deal ID '7762724431') and explains the purpose of the external metadata ID, going beyond the schema's minimal description.

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?

Clear verb+resource: 'returns the SpotDraft contracts linked to it (up to 50)'. Explicitly distinguishes from sibling get_contract_external_metadata by stating 'Reverse lookup' and 'Pairs with...' for forward lookup.

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?

Provides usage context: 'Use to answer which SpotDraft contracts are linked to deal X' and mentions pairing with forward lookup. Does not explicitly state when NOT to use, but the context is clear enough.

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/chad-hohn-radai/spotdraft-mcp'

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