Skip to main content
Glama

Describe resources

describe_resources
Read-only

What a source's backup holds. Without resource: every resource key with what it means, how many records it holds and what it hangs off, and the keys that hold none. Name one resource or several to add when each last synced and the columns search_records filters and orders by and summarize_records sums and groups by.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "describe_resources"
  }
}

Input Schema

NameRequiredDescriptionDefault
resourceNoA resource key, or several, e.g. ["invoices", "customer_payments"].
connection_idNoOmit when only one of the company's sources holds the resource; list_connections names them.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / required
      Removed value: -[]
  2. Changed2 schema fields changed
    • removedInput schema / properties / build_id
      Removed value: -{
      -  "description": "Omit when only one of the company's builds holds the resource; list_connections names them.",
      -  "type": "integer"
      -}
    • addedInput schema / properties / connection_id
      Added value: +{
      +  "description": "Omit when only one of the company's sources holds the resource; list_connections names them.",
      +  "type": "integer"
      +}
  3. 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 by structured data. The description adds genuine behavioral context beyond that: the response changes shape depending on whether `resource` is supplied, and it reports keys that hold no records. It says nothing about permission scoping, behavior on unknown resource keys, or response ordering.

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?

It is short and front-loads the no-parameter case before introducing the parameterized case, with no filler. The second sentence is a run-on that chains multiple clauses ('...to add when each last synced and the columns ... and summarize_records sums and groups by'), which costs some parseability.

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?

With only two optional parameters, no output schema, and annotations covering the safety profile, the required content is modest, and the description covers what is returned in both modes. It leaves minor gaps such as handling of an unrecognized resource key and the shape/ordering of the returned keys.

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 coverage is 100%, so the baseline is 3, and the description does add meaning beyond the schema by stating the outcome of each mode: global resource inventory vs. per-resource sync times and the column/aggregate semantics consumed by search_records and summarize_records. The connection_id guidance largely restates the schema's own text ('Omit when only one...'), which limits the added value.

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 states concretely what is returned ('every resource key with what it means, how many records it holds and what it hangs off'), so an agent knows this is a metadata/schema-introspection tool for a connection's resources. It references search_records and summarize_records as downstream consumers, which implicitly distinguishes it from them, though it never states a verb-and-resource framing as crisp as 'Describe resources'.

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?

It explicitly splits usage by parameter state: no `resource` gives the full inventory, naming one or several adds sync times and the columns/aggregations used by search_records and summarize_records. That is clear when-to-use guidance keyed to a concrete goal. It stops short of naming exclusions (e.g., when to prefer list_connections or get_record instead), so it misses the top band.

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