Skip to main content
Glama

Add Source

add_source

Add a source: an adapter with a config, fetched on a schedule (needs a key; admins and Pro). Call list_adapters first for the fields.

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": {
      "adapter": "<adapter>"
    },
    "name": "add_source"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoDisplay name, e.g. Bun releases
configNoAdapter config fields from list_adapters, e.g. {"repo": "oven-sh/bun"}
adapterYesAdapter name from list_adapters, e.g. github-releases
collectionNoCollection slug, e.g. packages; defaults to the adapter's
cadence_minutesNoMinutes between fetches, integer 5-1440, e.g. 60

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 the mutation profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=true). The description adds genuinely useful context beyond them: the key requirement, the admin/Pro gating, and that the source is fetched on a recurring schedule. It does not say whether the first fetch happens immediately or what a failure looks like, so it is solid but not rich.

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?

A single dense sentence with the definition front-loaded, followed by the access constraint and the prerequisite. No filler, and every clause 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?

For a 5-parameter creation tool with a nested config object and no output schema, the description covers the prerequisite, the auth gating, and the scheduling behavior. It leaves the return value and immediate-fetch behavior unstated, which is a minor gap given the annotations already cover the safety profile.

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%, so every parameter is already documented with examples, which sets the baseline at 3. The description adds one piece of real meaning the schema cannot convey: that config fields must be sourced from list_adapters. That is a modest but genuine addition.

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 and resource and defines the concept inline: 'an adapter with a config, fetched on a schedule'. That is more than a restatement of the name and lets an agent understand what object is being created. It does not explicitly contrast with list_sources or run_source, so it stops short of full sibling differentiation.

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?

Gives an explicit prerequisite ('Call list_adapters first for the fields') and states the access condition ('needs a key; admins and Pro'). It does not say when not to use it or when list_sources/run_source would be the better call, but the usage context is clear.

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