# ERROR apollo\_mcp\_server::schema\_tree\_shake: argument type reason not found

**URL:** <https://community.apollographql.com/t/error-apollo-mcp-server-argument-type-reason-not-found/9097>\
**Category:** MCP Server\
**Created:** [May 21, 2025, 6:33pm UTC](https://community.apollographql.com/t/error-apollo-mcp-server-argument-type-reason-not-found/9097 "2025-05-21T18:33:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![theJC](https://sea1.discourse-cdn.com/flex019/user_avatar/community.apollographql.com/thejc/32/5578_2.png) [@theJC](https://community.apollographql.com/u/theJC)\
**Post date:** [May 21, 2025, 6:33pm UTC](https://community.apollographql.com/t/error-apollo-mcp-server-argument-type-reason-not-found/9097/1 "2025-05-21T18:33:25Z")

</div>

Im running into an issue trying to run the Apollo MCP Server with an uplink provided schema, and then running the introspect MCP tool

I get a whole bunch of:  
`ERROR apollo_mcp_server::schema_tree_shake: argument type reason not found`

and then a response log:  
`response message id=3 result=CallToolResult(CallToolResult { content: [], is_error: None })`

Filed here as well:

> <https://github.com/apollographql/apollo-mcp-server/issues/70>
>
> Running mcp server with uplink providing schema to MCP, commandline being used t…o startup:
> 
> \`\`\`
> APOLLO\_GRAPH\_REF="########" APOLLO\_KEY="##########" /Users/username/dev/apollo/apollo-mcp-server/target/debug/apollo-mcp-server --directory /Users/username/dev/apollo/apollo-mcp-server --uplink --sse-address 127.0.0.1 --sse-port 5000 --introspection
> \`\`\`
> 
> Results in output of:
> \`\`\`
> 2025-05-21T18:17:13.160487Z INFO apollo\_mcp\_server: Apollo MCP Server v0.1.0 // (c) Apollo Graph, Inc. // Licensed as ELv2 (https://go.apollo.dev/elv2)
> 2025-05-21T18:17:17.831980Z INFO apollo\_mcp\_server::server: Running with schema:
> \<SNIP\>
> I've redacted the schema here, but the correct schema is output here
> \<SNIP\>
> 2025-05-21T18:16:30.602197Z INFO apollo\_mcp\_registry::uplink::persisted\_queries::manifest\_poller: Loaded 0 persisted queries.
> 2025-05-21T18:16:30.602804Z INFO apollo\_mcp\_registry::uplink::persisted\_queries::manifest\_poller: persisted query manifest successfully updated (0 operations total)
> 2025-05-21T18:16:30.603088Z WARN apollo\_mcp\_server::operations: No operations found
> 2025-05-21T18:16:30.604327Z INFO apollo\_mcp\_server::server: Starting MCP server in SSE mode port=5000 address=127.0.0.1
> \`\`\`
> 
> When attempting to introspect via tool getting the following output:
> 
> \`\`\`
> 2025-05-21T18:04:17.927654Z INFO rmcp::service: response message id=2 result=ListToolsResult(ListToolsResult { next\_cursor: None, tools: \[Tool { name: "execute", description: "Execute a GraphQL operation. Use the \`introspect\` tool to get information about the GraphQL schema. Always use the schema to create operations - do not try arbitrary operations. DO NOT try to execute introspection queries.", input\_schema: {"$schema": String("http://json-schema.org/draft-07/schema#"), "title": String("Input"), "type": String("object"), "required": Array \[String("query")\], "properties": Object {"query": Object {"description": String("The GraphQL operation"), "type": String("string")}, "variables": Object {"description": String("The variable values"), "type": Array \[String("string"), String("null")\]}}} }, Tool { name: "introspect", description: "Get detailed information about types from the GraphQL schema. Use the type name \`Query\` to get root query fields.", input\_schema: {"$schema": String("http://json-schema.org/draft-07/schema#"), "title": String("IntrospectInput"), "type": String("object"), "required": Array \[String("type\_name")\], "properties": Object {"depth": Object {"description": String("How far to recurse the type hierarchy. Use 0 for no limit. Defaults to 1."), "default": Number(1), "type": String("integer"), "format": String("uint32"), "minimum": Number(0.0)}, "type\_name": Object {"description": String("The name of the type to get information about."), "type": String("string")}}} }\] })
> 2025-05-21T18:04:27.933141Z INFO rmcp::service: received request id=3 request=CallToolRequest(Request { method: CallToolRequestMethod, params: CallToolRequestParam { name: "introspect", arguments: Some({"type\_name": String("Query"), "depth": Number(1)}) } })
> 2025-05-21T18:04:27.974976Z ERROR apollo\_mcp\_server::schema\_tree\_shake: argument type reason not found
> 2025-05-21T18:04:27.975314Z ERROR apollo\_mcp\_server::schema\_tree\_shake: argument type reason not found
> 2025-05-21T18:04:27.975332Z ERROR apollo\_mcp\_server::schema\_tree\_shake: argument type reason not found
> 2025-05-21T18:04:27.975373Z ERROR apollo\_mcp\_server::schema\_tree\_shake: argument type reason not found
> 2025-05-21T18:04:27.975386Z ERROR apollo\_mcp\_server::schema\_tree\_shake: argument type reason not found
> 2025-05-21T18:04:27.975395Z ERROR apollo\_mcp\_server::schema\_tree\_shake: argument type reason not found
> 2025-05-21T18:04:27.975404Z ERROR apollo\_mcp\_server::schema\_tree\_shake: argument type reason not found
> 2025-05-21T18:04:27.975412Z ERROR apollo\_mcp\_server::schema\_tree\_shake: argument type reason not found
> 2025-05-21T18:04:27.975424Z ERROR apollo\_mcp\_server::schema\_tree\_shake: argument type reason not found
> 2025-05-21T18:04:27.975433Z ERROR apollo\_mcp\_server::schema\_tree\_shake: argument type reason not found
> 2025-05-21T18:04:27.975486Z ERROR apollo\_mcp\_server::schema\_tree\_shake: argument type reason not found
> 2025-05-21T18:04:27.975516Z ERROR apollo\_mcp\_server::schema\_tree\_shake: argument type reason not found
> 2025-05-21T18:04:27.975526Z ERROR apollo\_mcp\_server::schema\_tree\_shake: argument type reason not found
> 2025-05-21T18:04:27.975534Z ERROR apollo\_mcp\_server::schema\_tree\_shake: argument type reason not found
> 2025-05-21T18:04:27.975544Z ERROR apollo\_mcp\_server::schema\_tree\_shake: argument type reason not found
> 2025-05-21T18:04:27.975552Z ERROR apollo\_mcp\_server::schema\_tree\_shake: argument type reason not found
> 2025-05-21T18:04:27.975625Z ERROR apollo\_mcp\_server::schema\_tree\_shake: argument type reason not found
> 2025-05-21T18:04:27.975730Z ERROR apollo\_mcp\_server::schema\_tree\_shake: argument type reason not found
> 2025-05-21T18:04:27.975828Z ERROR apollo\_mcp\_server::schema\_tree\_shake: argument type reason not found
> 2025-05-21T18:04:27.975840Z ERROR apollo\_mcp\_server::schema\_tree\_shake: argument type reason not found
> 2025-05-21T18:04:27.975846Z ERROR apollo\_mcp\_server::schema\_tree\_shake: argument type reason not found
> 2025-05-21T18:04:27.975854Z ERROR apollo\_mcp\_server::schema\_tree\_shake: argument type reason not found
> 2025-05-21T18:04:27.975860Z ERROR apollo\_mcp\_server::schema\_tree\_shake: argument type reason not found
> 2025-05-21T18:04:27.975866Z ERROR apollo\_mcp\_server::schema\_tree\_shake: argument type reason not found
> 2025-05-21T18:04:27.975871Z ERROR apollo\_mcp\_server::schema\_tree\_shake: argument type reason not found
> 2025-05-21T18:04:27.975908Z ERROR apollo\_mcp\_server::schema\_tree\_shake: argument type reason not found
> 2025-05-21T18:04:27.975915Z ERROR apollo\_mcp\_server::schema\_tree\_shake: argument type reason not found
> 2025-05-21T18:04:27.975925Z ERROR apollo\_mcp\_server::schema\_tree\_shake: argument type reason not found
> 2025-05-21T18:04:27.976098Z ERROR apollo\_mcp\_server::schema\_tree\_shake: argument type reason not found
> 2025-05-21T18:04:27.976110Z ERROR apollo\_mcp\_server::schema\_tree\_shake: argument type reason not found
> 2025-05-21T18:04:27.976203Z ERROR apollo\_mcp\_server::schema\_tree\_shake: argument type reason not found
> 2025-05-21T18:04:27.976279Z ERROR apollo\_mcp\_server::schema\_tree\_shake: argument type reason not found
> 2025-05-21T18:04:27.976300Z ERROR apollo\_mcp\_server::schema\_tree\_shake: argument type reason not found
> 2025-05-21T18:04:27.976345Z ERROR apollo\_mcp\_server::schema\_tree\_shake: argument type reason not found
> 2025-05-21T18:04:27.976509Z ERROR apollo\_mcp\_server::schema\_tree\_shake: argument type reason not found
> 2025-05-21T18:04:27.976518Z ERROR apollo\_mcp\_server::schema\_tree\_shake: argument type reason not found
> 2025-05-21T18:04:27.976524Z ERROR apollo\_mcp\_server::schema\_tree\_shake: argument type reason not found
> 2025-05-21T18:04:27.988693Z INFO rmcp::service: response message id=3 result=CallToolResult(CallToolResult { content: \[\], is\_error: None })\`\`\`

Has anyone encountered this and figured a way to get around the problem?

---

<div class="post-metadata">

**Author:** ![DaleSeo](https://sea1.discourse-cdn.com/flex019/user_avatar/community.apollographql.com/daleseo/32/5385_2.png) [@DaleSeo](https://community.apollographql.com/u/DaleSeo)\
**Post date:** [May 22, 2025, 4:16pm UTC](https://community.apollographql.com/t/error-apollo-mcp-server-argument-type-reason-not-found/9097/2 "2025-05-22T16:16:19Z")

</div>

Hi @theJC, we responded to the GitHub issue. Thank you for reporting it! 🙏
