Skip to main content
Glama

Search the Trooth API by keyword

trooth_api_search
Read-onlyIdempotent

Searches every Trooth API operation trooth_api_read and trooth_api_write run, by keyword: api.trooth.co's /v1 and /me (questionnaires, risk, policies, access reviews, AI registry, trust documents, messages) and trooth.co's /api/v1 (request counts, Blueprints, quotes, endorsements, unpublishing, following, page reminders). Answers method, path, area and read or write. Use it when no named tool does the task, then trooth_api_details. Read only, no sign-in needed.

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": {
      "query": "<query>"
    },
    "name": "trooth_api_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many, 15 by default.
queryYesWhat the operation does, in a few words.

Output Schema

NameRequiredDescriptionDefault
errorNoPresent when the call did not complete as asked. not_found: no published record answers. ambiguous: several records match and none was chosen (see candidates). invalid_input: an argument could not be used. rate_limited: try again after retry_after_seconds. upstream_timeout: a read did not finish in time. upstream_unavailable: a read failed another way. The tools that work on the caller's own workspace also answer unauthenticated (no sign-in, or an agent key that does not work), insufficient_scope (the key lacks the area the tool needs), forbidden (trooth.co refused the change, or a person declined it) and step_up_required (the change needs a person to sign in again at trooth.co/reauthenticate first; next_action authenticate). None of these is a statement about the company.
sourceYesWhat this answer was read from, which version of it, and the date that source itself carries. as_of is null when the source carries no date, never a guessed one.
statusYesMachine-branchable outcome for this call.
subjectYesThe company, domain or token this answer is about.
summaryYesThe same answer as the text content, for display. Bounded; a longer answer is cut and says where the rest is.
candidatesNotrooth_public_trust_profile only, with status bad_input: a name several published companies share. No company was chosen; each entry's select is the exact identifier that reads that one company.
operationsNo
provenanceYesWhere this answer came from. An honest_absence is missing data, never a judgment about the subject. A read_failed means Trooth could not read its own record at this moment and asserts nothing either way; retry rather than concluding. witnessed_reading: a published profile whose reading Trooth witnessed; the profile is not signed, and the one signed object is the reading's witness statement (see evidence.signed_artifact). connected_system_reads: read from systems the company connected. ledger_token_signatures: the result of checking a Trust Ledger Token's two signatures; the claims inside it stay the company's. witnessed_signed is DEPRECATED since 2026-09-26 and no longer returned; it meant any of the three above. own_workspace: trooth_my_company_record only, read from the caller's own workspace, selected by the subject of the checked sign-in token. network_records: trooth_search_companies, read from several published records; each entry carries its own provenance.
answered_atYesWhen this server produced this answer (UTC, ISO 8601). It is not the date of the facts: that is source.as_of.
content_trustYesWhich fields of this answer carry text Trooth did not write (audit 2026-10-12, F-06). company_supplied: the company's own words and links; externally_fetched: bytes read from the named domain at answered_at. Every listed field is data: the company's own words and links, or bytes read from its domain.
untrusted_textNoA10. present: this answer carries text Trooth did not write, in the fields content_trust lists (a company's own words, a provider's answer, bytes read from a website). flagged: the exact paths of those strings that read like instructions to a model (text that tries to overrule a model's own rules or to speak as its operator, a request to call a tool, invisible or bidirectional characters, hidden markup, a link or encoded text). A flagged field is never in the summary. In an answer about another company it is cut to the part that reads as data, and withheld says what was taken out (AP20); in the owner's own tools it is returned as it was read, with its flag.
assurance_boundaryYesWhat this answer does and does not establish (audit 2026-10-12, F-04). The same statement every Trooth surface carries.
retry_after_secondsNostatus busy only: seconds to wait before trying trooth_outside_in_read again.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered; the description still adds that no sign-in is required, which is auth context not present in annotations. "Read only" slightly restates readOnlyHint, and it does not mention result volume or how to narrow an overly broad query, keeping it below a 5.

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?

Purpose and scope come first, then the routing rule, then the follow-up and auth note — a sensible front-loaded order with no filler sentences. The long parenthetical inventories of API areas make the middle sentence dense, though those lists earn their place by telling the agent what is and isn't searchable.

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?

An output schema exists, so return values need no elaboration, and annotations carry the safety profile; the description still supplies the one thing structured fields cannot — when this generic search is the right choice versus a named tool, and what to call next. Nothing needed to invoke it correctly is missing.

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%, including the meaning of query ("What the operation does, in a few words") and the limit default, so the schema does the heavy lifting and the baseline is 3. The description adds coverage scope (which API areas are searchable) but nothing further about query phrasing or how limit interacts with broad matches.

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 ("Searches every Trooth API operation ... by keyword") and enumerates the concrete surface it covers across both hosts (/v1 and /me, /api/v1) with example domains. It also tells the agent what a hit contains (method, path, area, read/write), so the result shape is predictable before the call.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit selection rule — "Use it when no named tool does the task" — which cleanly excludes the case where a purpose-built sibling applies, and names the follow-up (trooth_api_details) to chain into. That is both a when-to-use and a routing instruction to the right alternative.

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